package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.ProductDelistings;
import com.example.mall.dto.ProductDelistingsDto;
import com.example.mall.query.PageDTO;
import com.example.mall.query.ProductDelistingsQuery;

import java.util.List;


/**
 * <p>
 * 商品下架记录表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-06
 */
public interface IProductDelistingsService extends IService<ProductDelistings> {

    //分页查询商品下架记录表信息
    PageDTO<ProductDelistingsDto> queryPage(ProductDelistingsQuery productDelistingsQuery);

    //根据id查询商品下架记录表信息
    ProductDelistings queryProductDelistingsById(Long delistId);

    //查询商品下架记录表信息
    List<ProductDelistings> queryProductDelistingsList();

    //新增商品下架记录表信息
    void insert(ProductDelistingsDto productDelistingsDto);

    //修改商品下架记录表信息
    void update(ProductDelistingsDto productDelistingsDto);

    //删除商品下架记录表信息
    void delete(Long delistId);

    //批量删除商品下架记录表信息
    void deleteBatch(List<Long> delistIds);
}
